<link href="{{ asset('/boot/css/bootstrap.min.css') }}" rel="stylesheet">


@if (count($errors) > 0)
    <div class="alert alert-danger">
        <ul>
            @foreach ($errors->all() as $error)
                <li>{{ $error }}</li>
            @endforeach
        </ul>
    </div>
@endif

<form role="form" action="/admin/storeConfig/{{ $list->configId }}" method="post" enctype="multipart/form-data">
  {{ csrf_field() }}
  {{ method_field('put') }}
  <div class="form-group">
    <label for="exampleInputEmail1">网站标题</label>
    <input type="text" class="form-control" id="exampleInputEmail1" value="{{ $list->configTitle }}" name="configTitle">
  </div>
  <div class="form-group">
    <label for="exampleInputPassword1">网站关键字</label>
    <input type="text" class="form-control" id="exampleInputPassword1" value="{{ $list->configKeys }}" name="configKeys">
  </div>
  <div class="form-group">
    <label for="exampleInputPassword1">网站描述</label>
    <input type="text" class="form-control" id="exampleInputPassword1" value="{{ $list->configDesc}}" name="configDesc">
  </div>


  <select class="form-control " name="configStatus">
    <option value="0">开启</option>
    <option value="1">关闭</option>
    
  </select>

  <div class="form-group">
    <label for="exampleInputFile">Logo</label>
    <input type="file" id="exampleInputFile" name="configLogo">
    <!-- <p class="help-block">Example block-level help text here.</p> -->
  </div>
  
  <button type="submit" class="btn btn-default">更新</button>
</form>